package jdly.water.api.controller.report;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import jdly.water.api.common.service.R;
import jdly.water.api.service.base.IndexService;

@RestController
public class IndexController {

	@Autowired
	private IndexService indexService;

	@GetMapping("/index")
	public R index() {

		return indexService.index();
	}
}
